xen/dts: fix DT_ROOT_NODE_ADDR_CELLS_DEFAULT
authorJulien Grall <julien.grall@linaro.org>
Mon, 9 Sep 2013 11:59:07 +0000 (12:59 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 9 Sep 2013 13:46:51 +0000 (14:46 +0100)
commit4d10a505c1eb6feb85292ab944c18e28f5583294
tree48244ed6d198b2f9fa0026232aafb7cb0e69e201
parentffcbfb66eeb38d0f0180d5ac99a3a8b2c8dd9af7
xen/dts: fix DT_ROOT_NODE_ADDR_CELLS_DEFAULT

The commit dbd1243 "xen/arm: Add helpers to use the device tree" introduced
DT_ROOT_NODE_ADDR_CELLS_DEFAULT with is used for default value when
bad copy from Linux code.

The ePAR (section 2.3.5) says: "If missing, a client program should assume a
default value of 2 for #address-cells, and a value of 1 for #size-cells."

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/include/xen/device_tree.h